import Vue from 'vue'
import VueRouter from 'vue-router'
import HelloWorld from "@/components/HelloWorld";
import ElmentTree from "@/components/ElmentTree";



Vue.use(VueRouter)
const router = new VueRouter({
    routes: [
        {
            // 默认为Layout页面组件
            path: '/',
            component: HelloWorld,
        },
        {
            path: '/tree',
            component: ElmentTree,
        },
    ],
})

export default router
